package com.woniuxy.user.mapper;

import com.woniuxy.user.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wf
 * @since 2021-03-26
 */
public interface UserMapper extends BaseMapper<User> {

    //通过用户名，修改用户的头像
    public int changIcon(@Param("account") String account, @Param("icon") String uri);

    //通过用户名，修改用户的密码
    public int changPassword(@Param("account") String account, @Param("password") String password);
}
